﻿namespace SuperModel.Generation
{
    using System;

    /// <summary>
    /// A type naming class
    /// </summary>
    internal class TypeNamer
    {
        /// <summary>
        /// Gets Next Type Name.
        /// </summary>
        /// <param name="targetType">
        /// The target Type.
        /// </param>
        /// <returns>
        /// The implementation name.
        /// </returns>
        public string GetImplementationName(Type targetType)
        {
            return string.Format("{0}_{1}", targetType.GetHashCode(), targetType.Name);
        }
    }
}
